<?php !defined('INC') && exit('Load failure!'); ?>
{#include file='include/top.php'}

<div class="w_960">
	{#include file="block/left.php"}
	
	<div class="w_700 fr mb10">

	<div class="nav mb10">
	<strong>当前位置</strong> | <a title="首页" href="{DIR}">首页</a>  |  <a href="javascript:;">{$name}</a>
	</div>

	<div class="t_1"><div><h3>搜索{#if(!empty($_GET['q']))}：{$_GET[q]}{#endif}</h3></div></div>
	<div class="f_1 pa10">
		{@res.select_join table1='%s_content' field1='id,url,title,description,date' table2='%s_content_tag_bind' on='id' where="t1.status=1 and t2.tid={$info['tid']}" order='t1.id desc' number='10'}
		{#if(!empty($res))}
		<ul class="list_page">
			{#foreach($res as $rs)}
			<li><a href="{DIR}{$rs[url]}" title="{$rs[title] code='quote'}">{$rs[title]}</a><i>{$rs[date] date='Y.m.d H:i'} 时发表</i><p>{$rs[description]}</p></li>
			{#endforeach}
		</ul>
		<div class="page">
		{$res_pagelist code='html'}
		</div>
		{#else}
		<div class="tips"><p>暂无符合条件的Tag列表！</p></div>
		{#endif}
	</div>
	
	</div>
	
</div>

{#include file='include/bottom.php'}

</body>
</html>